home *** CD-ROM | disk | FTP | other *** search
/ Aminet 28 / Aminet 28 (1998)(GTI - Schatztruhe)[!][Dec 1998].iso / Aminet / util / libs / MMULib.lha / MMULib / Lib_Sources / mu_descriptor.i < prev    next >
Encoding:
Text File  |  1998-10-04  |  2.7 KB  |  49 lines

  1. ;*************************************************************************
  2. ;** mmu.library                                                         **
  3. ;**                                                                     **
  4. ;** a system library for arbitration and control of the MC68K MMUs      **
  5. ;**                                                                     **
  6. ;** © 1998 THOR-Software, Thomas Richter                                **
  7. ;** No commercial use, reassembly, modification without prior, written  **
  8. ;** permission of the authors.                                          **
  9. ;** Including this library in any commercial software REQUIRES a        **
  10. ;** written permission and the payment of a small fee.                  **
  11. ;**                                                                     **
  12. ;** This is an internal header file, do not depend on anything here.    **
  13. ;** Use the official include files.                                     **
  14. ;** Distributed only for the mmu.library development group for private  **
  15. ;** use.                                                                **
  16. ;**                                                                     **
  17. ;**---------------------------------------------------------------------**
  18. ;** Block: Abstraction layer for page descriptors                       **
  19. ;** Version 0.00                24.09.1998      © THOR                  **
  20. ;*************************************************************************
  21.  
  22. ;FOLD The abstraction of a descriptor
  23. ;*************************************************
  24. ;** Descriptor                                  **
  25. ;*************************************************
  26.         rsreset
  27. atd_Pointer:    rs.l 1          ;pointer to the table or the next level
  28. atd_Properties: rs.l 1          ;property flags
  29. atd_LowerLimit: rs.w 1          ;lower limit. 0 if none. Given in entries of the next level
  30. atd_UpperLimit: rs.w 1          ;upper limit. 0x7fff if none
  31. atd_ThisType:   rs.b 1          ;Type of this descriptor, see below
  32. atd_NextType:   rs.b 1          ;Next type, long or short. Everything else doesn't care
  33. atd_reserved:   rs.w 1
  34. atd_len:        rs.b 0
  35. ;ENDFOLD
  36. ;FOLD Descriptor Types
  37. ;*************************************************
  38. ;** Descriptor Types                            **
  39. ;*************************************************
  40. atdt_invalid    =       0       ;invalid descriptor
  41. atdt_page       =       1       ;page descriptor, alternatively early termination
  42. atdt_table      =       2       ;table descriptor
  43. atdt_indirect   =       3       ;indirect descriptor
  44.  
  45. atdf_long       =       2       ;set if this is long
  46. atdt_long       =       4       ;the same as mask
  47. ;ENDFOLD
  48.  
  49.